fb7abffd9e3dad6e5de74f72a75173bb73a2c4a7,tests/integration/src/test/java/org/mule/test/core/context/notification/processors/ComponentPathTestCase.java,ComponentPathTestCase,flowWithBlockWithErrorHandler,#,251

Before Change


    assertNextProcessorLocationIs(blockLocation
        .appendLocationPart("processors", empty(), empty(), empty())
        .appendLocationPart("0", TEST_COMPONENT, CONFIG_FILE_NAME, of(60)));
    DefaultComponentLocation blockOnErrorContinueProcessorsLocation = blockLocation
        .appendLocationPart("errorHandler", ERROR_HANDLER, CONFIG_FILE_NAME, of(61))
        .appendLocationPart("0", ON_ERROR_CONTINUE, CONFIG_FILE_NAME,
                            of(62))
        .appendLocationPart("processors", empty(), empty(), empty());
    assertNextProcessorLocationIs(blockOnErrorContinueProcessorsLocation
        .appendLocationPart("0", VALIDATION_IS_FALSE, CONFIG_FILE_NAME, of(63)));
    assertNextProcessorLocationIs(blockOnErrorContinueProcessorsLocation

After Change


    assertNextProcessorLocationIs(blockLocation
        .appendProcessorsPart()
        .appendLocationPart("0", TEST_COMPONENT, CONFIG_FILE_NAME, of(60)));
    DefaultComponentLocation blockOnErrorContinueLocation = blockLocation
        .appendLocationPart("errorHandler", ERROR_HANDLER, CONFIG_FILE_NAME, of(61))
        .appendLocationPart("0", ON_ERROR_CONTINUE, CONFIG_FILE_NAME,
                            of(62));
    assertNextProcessorLocationIs(blockOnErrorContinueLocation
        .appendProcessorsPart()
        .appendLocationPart("0", VALIDATION_IS_FALSE, CONFIG_FILE_NAME, of(63)));